package fr.cnam.projetSiw.shared;

import java.io.Serializable;
import java.util.ArrayList;

public class Playlist implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -4218127869391980935L;
	
	private ArrayList<Track> lstTracks = new ArrayList<Track>();
	private String name;
	
	public Playlist(){
		
	}
	
	public Playlist(ArrayList<Track> lstTracks, String name) {
		super();
		this.lstTracks = lstTracks;
		this.name = name;
	}

	public Playlist(ArrayList<Track> playlist){
		this.setLstTracks(playlist);
	}

	public ArrayList<Track> getLstTracks() {
		return lstTracks;
	}

	public void setLstTracks(ArrayList<Track> playlist) {
		this.lstTracks = playlist;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
